home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Visual Basic 5.0 (2nd Edition) / Hardcore Visual Basic 5.0 - Second Edition (1997)(Microsoft Press).iso / Source / Sieve / SIEVEMFC / SIEVEMFC.ODL < prev    next >
Text File  |  1996-06-02  |  1KB  |  49 lines

  1. // SieveMFC.odl : type library source for SieveMFC.dll
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (SieveMFC.tlb).
  5.  
  6. [ uuid(06CD1DA2-FB34-11CE-AE38-08002B32A778),
  7.   helpstring("Sieve of Eratosthenes As MFC C++ DLL"),
  8.   version(1.0)
  9. ]
  10. library SieveMFC
  11. {
  12.     importlib("stdole32.tlb");
  13.     
  14.  
  15.     //    Primary dispatch interface for CSieveMFC
  16.     
  17.     [ uuid(06CD1DA5-FB34-11CE-AE38-08002B32A778) ]
  18.     dispinterface IMSieve
  19.     {
  20.         properties:
  21.             // NOTE - ClassWizard will maintain property information here.
  22.             //    Use extreme caution when editing this section.
  23.             //{{AFX_ODL_PROP(CSieveMFC)
  24.             [id(1)] short NextPrime;
  25.             [id(2)] short MaxPrime;
  26.             [id(3)] short Primes;
  27.             //}}AFX_ODL_PROP
  28.             
  29.         methods:
  30.             // NOTE - ClassWizard will maintain method information here.
  31.             //    Use extreme caution when editing this section.
  32.             //{{AFX_ODL_METHOD(CSieveMFC)
  33.             [id(4)] void ReInitialize();
  34.             [id(5)] void AllPrimes(VARIANT* pv);
  35.             //}}AFX_ODL_METHOD
  36.  
  37.     };
  38.  
  39.     //    Class information for CSieveMFC
  40.  
  41.     [ uuid(06CD1DA6-FB34-11CE-AE38-08002B32A778) ]
  42.     coclass CSieveMFC
  43.     {
  44.         [default] dispinterface IMSieve;
  45.     };
  46.  
  47.     //{{AFX_APPEND_ODL}}
  48. };
  49.